<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
  <!-- import Vue before Element -->
  <script src="https://unpkg.com/vue/dist/vue.js"></script>
  <!-- import JavaScript -->
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body>
<h1>学习dropdown</h1></hr>
<div id="app">
  <el-dropdown trigger="click" split-button>
      <span class="el-dropdown-link">
        下拉菜单
      </span>
    <el-dropdown-menu slot="dropdown">
      <el-dropdown-item icon="el-icon-plus">黄金糕</el-dropdown-item>
      <el-dropdown-item icon="el-icon-circle-plus">狮子头</el-dropdown-item>
      <el-dropdown-item icon="el-icon-circle-plus-outline">螺蛳粉</el-dropdown-item>
      <el-dropdown-item icon="el-icon-check">双皮奶</el-dropdown-item>
      <el-dropdown-item icon="el-icon-circle-check-outline">蚵仔煎</el-dropdown-item>
    </el-dropdown-menu>
  </el-dropdown>

</div>
</body>

<script>
  new Vue({
    el: '#app'
  })
</script>
</html>